#!/bin/sh
#
# This script will be executed before the module is uninstalled.

mod_name="vpnportal"
DIR_VAR_CERTIFICATES="/var/data/${mod_name}_certs/certificates"

/opt/$mod_name/etc/init stop

rm -f $DIR_VAR_CERTIFICATES/ovpn/*
